/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.tastefuljava.hiketools.geo;

import java.util.Date;

public class PolylinePoint extends TrackPoint {
    private int minZoomLevel;

    public PolylinePoint(double lat, double lng, double h, Date time,
            int minZoomLevel) {
        super(lat, lng, h, time);
        this.minZoomLevel = minZoomLevel;
    }

    public PolylinePoint(TrackPoint pt, int minZoomLevel) {
        this(pt.getLat(), pt.getLng(), pt.getH(), pt.getTime(), minZoomLevel);
    }

    public int getMinZoomLevel() {
        return minZoomLevel;
    }
}
